package info.openlvb.openface.client.handler;

import info.openlvb.openface.client.base.machine.AddMachinePanel;

import com.gwtext.client.core.EventObject;
import com.gwtext.client.widgets.Button;
import com.gwtext.client.widgets.event.ButtonListenerAdapter;

public class ClearMachineListener extends ButtonListenerAdapter{
	
	private AddMachinePanel amp;
	
	public ClearMachineListener(AddMachinePanel amp){
		this.amp = amp;
	}
	public void onClick(Button button, EventObject e) {
		amp.getMachine_desc().setValue("");
		amp.getMachine_nm().setValue("");
	}

}
